<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<header th:replace="erp/common/head :: head"></header>
<body>
	<div id="container">
	    <div class="layout">
	    	<Affix>
			<header th:replace="erp/common/top_header"></header>
			</Affix>
	        <div class="layout-content">
	            <Row>
					<header th:replace="erp/common/side"></header>
	                <i-col span="21">
	                    <div class="layout-content-main">
	                    <Breadcrumb>
					        <Breadcrumb-item th:if="${!router_view.url.equals('/erp/index')}" href="/erp/index">首页</Breadcrumb-item>
					        <Breadcrumb-item th:href="@{${router_view.url}}" th:text="${router_view.desc}">Components</Breadcrumb-item>
					    </Breadcrumb>
					    <div class="page-header">
						  <!-- <h1><small th:text="${router_view.desc}">发表文章</small></h1> -->
						</div>
                    	<div th:replace="${router_view.path}"></div>
	                    </div>
	                </i-col>
	            </Row>
				<div th:replace="erp/common/footer"></div>
	        </div>
	    </div>
	</div>
	<div th:replace="erp/common/import_script"></div>
<script th:if="${not #strings.isEmpty(router_view.componentPath)}" th:src="@{${router_view.componentPath}}"></script>
	<script th:if="${#strings.isEmpty(router_view.componentPath)}" type="text/javascript">
	var loginContainer = new Vue({
		el:'#container'
	});
	</script>
</body>
</html>